
var mongoose = require('mongoose');
var Schema = mongoose.Schema;


//设置用户jpush是否开启
var JpushSchema= new Schema({
    uid:Number,
    is_on:{
        type:Number,
        default:1
    },
    group_off_list:{
        type:Array,
        default:[]
    }
});


var Jpushs = mongoose.model('Jpushs', JpushSchema)

module.exports = Jpushs;